
<div id="dataArea">
    <form role="form" method="post" action="{:U(ACTION_NAME)}">
        <div class="col-xs-12">
            <!-- general form elements -->
            <div class="box box-primary">
                <div class="box-body">
                    <if condition="ACTION_NAME eq 'edit'">
                        <input type="hidden" id="cgid" name="cgid" value="{$res.cgid}">
                    </if>

                    <div class="form-group">
                        <label for="cgname1">组名称</label>
                        <input type="text" placeholder="" id="cgname1" name="cgname" value="{$res.cgname}" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="cgtitle1">组标题</label>
                        <input type="text" placeholder="" id="cgtitle1" name="cgtitle" value="{$res.cgtitle}" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="cgorder1">排序</label>
                        <input type="text" placeholder="" id="cgorder1" name="cgorder" value="{$res.cgorder|intval}" class="form-control took-w100">
                    </div>
                </div><!-- /.box-body -->
            </div><!-- /.box -->
        </div>
        <!-- /.col-md -->
    </form>
</div>